x86/cpuidle: don't count C1 multiple times
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Nov 2014 09:05:29 +0000 (10:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Nov 2014 09:05:29 +0000 (10:05 +0100)
commit0aabd10525326edfe5098c2ec5bfe05db7732c32
treecc0870a37390ca82f57867e74e8ca9f79f22fe73
parent104072fc1c7e6ed117c70fa7f91ecc9946f8f654
x86/cpuidle: don't count C1 multiple times

Commit 4ca6f9f0 ("x86/cpuidle: publish new states only after fully
initializing them") resulted in the state counter to be incremented
for C1 despite that using a fixed table entry (and the statically
initialized counter value already accounting for it and C0).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/acpi/cpu_idle.c